#ifndef GAMEVIEW_H
#define GAMEVIEW_H

#include <QGraphicsView>
class gamescene;
class PauseView;
class TeachGameScene;

class gameview : public QGraphicsView
{
    Q_OBJECT
public:
    explicit gameview(QWidget *parent = 0);
    ~gameview();
    void createPauseView();
    void deletePauseView();
public:
    gamescene*  m_gamescene;
    TeachGameScene* m_tgscene;
    PauseView*  m_pauseview;
signals:
    void Over(bool bclear);
public slots:
    void GameOver(bool bclear);
    void GameContinue();
    void GameRestart();
    void showPause();
    void GameBack();
};

#endif // GAMEVIEW_H
